package top.cdmrx.demo.cms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by Mr.陈 time on 2021/11/27 | 18:05
 **/
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = "top.cdmrx")
@MapperScan(basePackages = "top.cdmrx.demo.cms.mapper")
public class CmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(CmsApplication.class,args);
    }
}
